<?php

namespace app\index\model;

use think\Model;

class Brlb extends Model
{
    protected $table = 'xt_brlb';


    public function getUserInfoByLogid($logid){
        return $this->where('logid',$logid)->find();
    }

    public function getUserInfoByUsername($username){
        return $this->where('username',$username)->find();
    }

    public function DelUserInfoByLogid($logid){
        return $this->where('logid',$logid)->delete();
    }

    public function DelUserInfoByUsername($username){
        return $this->where('username',$username)->delete();
    }
}

